package com.fuhailiu.opengl.define;

public class MSize {

	public int width, height;

	public MSize() {
	}

	public MSize(int width, int height) {
		this.width = width;
		this.height = height;
	}

	public boolean equals(MSize s) {
		return (s != null) ? equals(s.width, s.height) : false;
	}

	public boolean equals(int width, int height) {
		return (this.width == width && this.height == height);
	}

	@Override
	public String toString() {
		return new String("[" + width + "," + height + "]");
	}

}
